<%--
功能：品牌面包屑导航
--%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="catalog" tagdir="/WEB-INF/tags/catalog"%>

<%@ tag import="org.springframework.context.ApplicationContext" %>
<%@ tag import="org.springframework.web.context.support.WebApplicationContextUtils" %>
<%@ tag import="com.probiz.estore.product.service.BrandManager" %>
<%@ tag import="com.probiz.estore.common.model.product.Brand" %>
<%@ tag import="java.util.List" %>

<%@ attribute name="brandId" type="java.lang.Integer" required="true" description="目录id"%>
<%
	ApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(session.getServletContext());
	BrandManager brandManager = (BrandManager) ctx.getBean("brandManager");
	Brand brand = brandManager.getById(brandId);
	request.setAttribute("brand",brand);
%>
<a href="${ctxPath}/index.html"><fmt:message key="menu.index"/></a>&gt;${brand.brandName}
